<#include "/common/_layout.html">
<#assign pageJavascript>
<script type="text/javascript">
$(function(){
	var imgurls="${(message.imgurl)!}";
	imgurls = imgurls.replace("[","").replace("]","");
	var img=new Array();
	img=imgurls.split(',');
	var imgurlhtml = "";
	for(var i=0; i<img.length; i++){
		imgurlhtml+="<a class='control-label' target='_Blank' href='"+img[i]+"' ><img style='width:100%;height:100%;margin:3px 3px;' src='"+img[i]+"'/></a>"
	}
	$(".j-imglistPanel").html(imgurlhtml);
});

</script>
</#assign>
<@layout pageTitle="消息详情" pageJavascript=pageJavascript pageCss=pageCss>	
<h3 class="page-header">消息详情</h3>	
<form id = "form1" class="form-horizontal">
  <div class="form-group">
    <div class="col-sm-10">
      <a href="/admin/system/message" class="btn btn-default">返回列表页</a>
    </div>
  </div>
  <div class="form-group">
    <label for="title" class="col-sm-2 control-label">消息标题：</label>
    <div class="col-xs-10 col-sm-3">
      <input type="text" id="title" value="${(message.title)!}" name="title" datatype="s2-20" <#if message??> disabled</#if> class="form-control">
    </div>
  </div>
    <div class="form-group">
    <label for="title" class="col-sm-2 control-label">发送时间：</label>
    <div class="col-xs-10 col-sm-3">
      <input type="text" id="intime" value="${(message.intime)!}" name="intime" datatype="s2-20" <#if message??> disabled</#if> class="form-control">
    </div>
  </div>
      <div class="form-group">
    <label for="medalv" class="col-sm-2 control-label">消息类别：</label>
    <div class="col-xs-10 col-sm-3">
      <input type="text" id="medalv" value="${(medalv)!}" name="medalv" datatype="s2-20" <#if message??> disabled</#if> class="form-control">
    </div>
  </div> 
    <div class="form-group">
    <label for="mac" class="col-sm-2 control-label">mac：</label>
    <div class="col-xs-10 col-sm-3">
      <input type="text" id="mac" value="${(message.mac)!}" name="mac" datatype="s2-20" <#if message??> disabled</#if> class="form-control">
    </div>
  </div> 
  <div class="form-group">
    <label for="details" class="col-sm-2 control-label">消息详情：</label>
    <div class="col-xs-10 col-sm-5">
    	<textarea id="details"  rows="8" cols="50" name="details" datatype="*0-200"  <#if message??> disabled</#if> class="form-control">${(message.details)!}
    	</textarea>
    </div>
  </div>
</form>
</@layout>